import request from '@/utils/request'

// 推流
export function connect(deviceId) {
    return request({
        url: '/stream/connect/' + deviceId,
        method: 'get',
    })
}

// 保活
export function keepLive(deviceId) {
    return request({
        url: '/stream/keepLive/' + deviceId ,
        method: 'get',
    })
}

// 断流
export function disConnect(deviceId) {
    return request({
        url: '/stream/disConnect/' + deviceId ,
        method: 'get',
    })
}
